home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19990725-20000114 / 000099_news@columbia.edu _Wed Sep 15 09:22:03 1999.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id JAA03718
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Wed, 15 Sep 1999 09:22:02 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id JAA15403
  7.     for kermit.misc@watsun.cc.columbia.edu; Wed, 15 Sep 1999 09:20:52 -0400 (EDT)
  8. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  9. From: nigel@DELETE-NOSPAM.negin.nu
  10. Subject: Re: Q: about scripts & .kermrc
  11. Message-ID: <j2ND3.14619$RV1.421522@news1.rdc2.tx.home.com>
  12. Date: Wed, 15 Sep 1999 13:20:15 GMT
  13. Organization: @Home Network
  14. To: kermit.misc@columbia.edu
  15.  
  16. Ahhh, ok. I got it.  I did grep for kermrc after browsing the docs, I guess I
  17. should have thought of using a generic term.
  18.  
  19. Anyway, I appreciate your rapid response, thanks.
  20.  
  21. Regards
  22. Nigel
  23.  
  24. In comp.protocols.kermit Mark Sapiro <msapiro@value.net> wrote:
  25. > nigel@DELETE-NOSPAM.negin.nu wrote:
  26. >> 
  27. >> I'm using a shell script called 'dialout' which sets some environment varibales
  28. >> and then call a kermit script (starts with #!/usr/local/bin/kermit +  )
  29. >> which will go out and find the first available modem on a modem pool.
  30. >> 
  31. >> I also have a .kermrc file which doesn't appear to be executed when I run
  32. >> dialout to eventually load kermit.
  33. >> 
  34. >> Is there something I can put in the script to force kermit to load the
  35. >> .kermrc or am I missing something? I've looked around and havn't seen
  36. >> anything mentioned about it.
  37. >> 
  38. >> C-Kermit 7.0.196 Beta.10, 4 Sep 1999, for IBM AIX 4.1
  39.  
  40. > This behavior is intentional.  See Ckermit2.txt, sec 7.19 a. Partially
  41. > quoted below.  If you don't need to pass command line arguments to the
  42. > script, you can remove the '+' from the end of the 'kerbang' line. 
  43. > Otherwise, you can put a 'take' command for .kermrc in the script.
  44.  
  45. > a. The first line of the Kermit script must begin with "#!" immediately
  46. >    followed by the full pathname of the program that will execute the
  47. >    script (in this case, C-Kermit rather than a UNIX shell), followed by
  48. >    any Kermit command-line options.  To suppress execution of the C-Kermit
  49. >    initialization file and to make command line arguments available to the
  50. >    script, the final option should be "+":
  51.  
  52. >    #!/usr/local/bin/kermit +
  53.  
  54.  
  55.  
  56. > -- 
  57. > Mark Sapiro <msapiro@value.net>       The highway is for gamblers,
  58. > San Francisco Bay Area, California    better use your sense - B. Dylan